package com.zh.singletonmode.services.lazy;

import java.io.Serializable;

public class LazySingleton {
    private LazySingleton(){}
    private static LazySingleton lazySingleton = null;
    public static LazySingleton getInstance(){
        if (lazySingleton == null){
            lazySingleton = new LazySingleton();
        }
        return lazySingleton;
    }
}

